import { createNamespace } from '../../utils/create'
import { withInstall } from '../../utils/width-install'
import _Counter from './Counter.vue'

export type { CounterProps } from './types'

_Counter.name = createNamespace('counter')

export const Counter = withInstall(_Counter)

export default Counter

declare module 'vue' {
  export interface GlobalComponents {
    WmaCounter: typeof _Counter
  }
}
